package com.cdream.bank.factory;

import com.cdream.bank.Bank2Client;
import org.springframework.stereotype.Component;

/**
 * @author cdream
 * @date 2021/8/29
 */
    @Component
    public class Bank2ClientFallback implements Bank2Client {
        @Override
        public String transfer(Double amount) {
            return "fallback";
        }
    }

